//
//  MKOrderItemObject.h
//  YangDongXi
//
//  Created by cocoa on 15/4/17.
//  Copyright (c) 2015年 cocoa. All rights reserved.
//

#import "MKSpecificItemObject.h"
#import "MKActivityInfoObject.h"


typedef NS_ENUM(NSInteger, MKRefundStatus)
{
    MKApply        = 1,   /**< 申请*/
    MKProcessing   = 70,   /**< 退款中*/
    MKrefuse       = 71,   /**< 不同意*/
    MKFinished     = 80,   /**< 退款完成*/
    MKFailed       = 72,   /**< 退款失败*/
    MKAgreeRefund  =73,
    MKAgreeGoods   = 74,
    
};

@interface MKOrderItemObject : MKSpecificItemObject

/**@brief 订单商品uid*/
@property (nonatomic, strong) NSString *orderItemUid;

/**@brief 商品uid*/
@property (nonatomic, strong) NSString *itemUid;

/**@brief 商品名称*/
@property (nonatomic, strong) NSString *itemName;

/**@brief 主图url*/
@property (nonatomic, strong) NSString *iconUrl;

/**@brief 单价，都是 * 100的值*/
@property (nonatomic, assign) float price;
/**@brief 发货方式：0 未指定，1一般进口，2保税区发货，3海外直邮*/
@property (nonatomic, assign) NSInteger deliveryType;
/**@brief sku信息的快照，例如：“颜色:黑色 尺码:xl”*/
@property (nonatomic, strong) NSString *skuSnapshot;
@property (nonatomic,assign)NSInteger state;
@property (nonatomic,strong)NSMutableArray *itemImageArray;
@property (nonatomic,assign)NSInteger itemTypeOne;
/**@brief 金额*/
@property (nonatomic,assign)NSInteger paymentAmount;
/**@brief 余额*/
@property (nonatomic,assign)NSInteger discountAmount;
/**@brief 积分*/
@property (nonatomic,assign)NSInteger point;
/**@brief 市场价*/
@property (nonatomic, assign) NSInteger marketPrice;

/**@brief 促销价*/
@property (nonatomic, assign) NSInteger promotionPrice;

/**@brief 无线价*/
@property (nonatomic, assign) NSInteger wirelessPrice;

@property (nonatomic, assign) NSInteger totalAddTax;


@property (nonatomic,strong)MKActivityInfoObject *activityInfo;

/**@brief 商品退款状态 1 申请中 2 退款中 3 不同意 4 退款完成 5 退款失败*/
@property (nonatomic,assign)NSInteger refundStatus;

@property (nonatomic,strong)NSString *cartItemUid;
@property (assign, nonatomic)  BOOL isChecked;

@property (nonatomic,strong)NSMutableArray * valueServiceList;

+ (NSString *)refundStatusWithString:(MKRefundStatus)refundStatus;

@end
